//
//  InvestListModel.m
//  DaoZiJinFu
//
//  Created by woker on 16/7/14.
//  Copyright © 2016年 iwoker. All rights reserved.
//

#import "InvestListModel.h"

@implementation InvestListModel

+ (instancetype)modelWithDict:(NSDictionary *)dict {
    InvestListModel *model = [[InvestListModel alloc] init];
//    [model setValuesForKeysWithDictionary:dict];
    
    [model setActual_gains_amount:dict[@"actual_gains_amount"]];
    [model setActual_ransom_amount:dict[@"actual_ransom_amount"]];
    [model setBack_section_mode:dict[@"back_section_mode"]];
    [model setBack_section_time:dict[@"back_section_time"]];
    [model setInterest_start_date:dict[@"interest_start_date"]];
    [model setInterest_end_date:dict[@"interest_end_date"]];
    [model setGains_amount:dict[@"gains_amount"]];
    [model setId:dict[@"id"]];
    [model setOrder_sn:dict[@"order_sn"]];
    [model setPay_time:dict[@"pay_time"]];
    [model setProduct_annual_gains:dict[@"product_annual_gains"]];
    [model setProduct_day_number:dict[@"product_day_number"]];
    [model setProduct_id:dict[@"product_id"]];
    [model setProduct_name:dict[@"product_name"]];
    [model setTotal_amount:dict[@"total_amount"]];
    return model;
}

@end
